package com.atguigu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/12/23 15:02
 * @注释
 */
@Controller
public class TestRequestController {

    @RequestMapping(value = "/test", params = "username")
    @ResponseBody
    public String requestTest() {
        return "Hello Spring MVC";
    }
}
